﻿ using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Prism.Mvvm;
namespace JHECIS.DataModel
{
    
    public class TreeViewItemBase : Prism.Mvvm.BindableBase
    {
       
        private bool isSelected;
        public bool IsSelected
        {
            get { return this.isSelected; }
            set
            {
                if (value != this.isSelected)
                {
                    this.isSelected = value;
                    RaisePropertyChanged(nameof(IsSelected));
                }
            }
        }

        private bool isExpanded;
        public bool IsExpanded
        {
            get { return this.isExpanded; }
            set
            {
                if (value != this.isExpanded)
                {
                    this.isExpanded = value;
                    RaisePropertyChanged(nameof(IsExpanded));
                }
            }
        }

    }
}
